﻿namespace f2poolWindowsService
{
    public class F2poolDataModel
    {
        public string status { get; set; }
        public F2poolDataInfoModel data { get; set; }
    }
    public class F2poolDataInfoModel
    {
        public long id { get; set; }
        public string code { get; set; }
        public string name { get; set; }
        public string algorithm { get; set; }
        public string prooftype { get; set; }
        public string total_supply { get; set; }
        public string blocktime { get; set; }
        public string diff_adj { get; set; }
        public string reduction_reward { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string profit_per_hash { get; set; }
        public string miners { get; set; }
        public object extra { get; set; }
        public string icon64_origin { get; set; }
        public string icon64 { get; set; }
        public string icon128_origin { get; set; }
        public string icon128 { get; set; }
        public string blockreward_reward { get; set; }
        public double volume24h { get; set; }
        public double percent_change_24h { get; set; }
        public long difficulty_split { get; set; }
        public long difficulty24_split { get; set; }
        public long circulating_supply { get; set; }
        public long timestamp { get; set; }
        /// <summary>
        /// 币价
        /// </summary>
        public double price { get; set; }
        public long blocknumber { get; set; }
        public long network_hashrate_split2 { get; set; }
        public double marketcap { get; set; }
        public long network_hashrate_split { get; set; }
        public double network_hashrate_double { get; set; }
        public double network_hashrate_double_last24h { get; set; }
        public long blocktime_real { get; set; }
        public double difficulty_double { get; set; }
        public double network_hashrate_double_last72h { get; set; }
        public double blockreward { get; set; }
        public double network_hashrate_double_last168h { get; set; }
        public long rank { get; set; }
        public double difficulty24_double { get; set; }
        public long remain_minable { get; set; }
        public double remain_minable_pro { get; set; }
        public double output24h_coin { get; set; }
        public double output24h { get; set; }
        public double network_hashrate { get; set; }
        public long difficulty { get; set; }
        /// <summary>
        /// 单位产量
        /// </summary>
        public double profit_per_t { get; set; }
        public double profit24h { get; set; }
        public double profit_by_day { get; set; }
        public double estimated_profit { get; set; }
        public double estimated_profit_usd { get; set; }
        public long estimated_profit_scales { get; set; }
        public long currency_scales { get; set; }
        public chart_data[] chart_data { get; set; }
    }
    public class chart_data {
        public double hashrate { get; set; }
        public double price { get; set; }
        public long timestamp { get; set; }
    }
}
